﻿<!DOCTYPE html>
<html>
<meta http-equiv="X-UA-Compatible" content="IE=7">
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<head>
    <title>f4031</title>
    <!--引入样式和JS-->
    <link rel="stylesheet" href="../../static/Skins_/css/blue/reset.css" type="text/css" />
    <link rel="stylesheet" href="../../static/Skins_/css/blue/global.css" type="text/css" />
    <script src="../../static/loadjs1.js"></script>
    <script>
        function dosave(){
            var v={};
            v.act="pwd";
            v.pwd=$("#pwd").val();
            v.pwd1=$("#pwd1").val();
            v.pwd2=$("#pwd2").val();
            v.r=getRnd();
            $.post(
                    "/f00/user/ajax",
                    v,
                    function(data){
                        if(data.result=="OK"){
                            alert("密码修改成功！下次登陆时生效。");
                        }else{
                            alert("修改失败，请检查输入。");
                        }
                    },"json"
            );
        }
    </script>
</head>
<body>
<div class="main_padding">
    <div class="tool_tab">
        <ul>
            <li class="cur"><a href="">用户信息</a></li>
        </ul>
    </div>
    <div class="tool_table">
        <div class="button"><a href="#"onclick="dosave()" class="button_gray"><b class="icons icheck"></b>确认</a></div>
        <div class="button"><a href="#" onclick="window.close()" class="button_gray"><b class="icons iback"></b>返回</a></div>
    </div>
    <table class="table">
        <tbody>
        <tr>
            <td>原密码：</td><td><input type="password"  class="u_ipt_inner" id="pwd" name="pwd"/></td>
        </tr>
        <tr>
            <td>新密码：</td><td><input type="password"  class="u_ipt_inner" id="pwd1" name="pwd1"/></td>
        </tr>
        <tr>
            <td>确认密码：</td><td><input type="password"  class="u_ipt_inner" id="pwd2" name="pwd2"/></td>
        </tr>
        </tbody>
    </table>
</div>
</body>
</html>
